Method and apparatus for managing data using plural processors

ABSTRACT

A method for managing data in an electronic device including a first processor and a second processor, the method comprising: receiving data transmitted by a first external device by using the first processor; identifying, by the first processor, a service or content corresponding to the data; in response to detecting that the data corresponds to a first service or a first content, using the first processor to transmit at least a portion of the data to the second processor; and in response to detecting that the data corresponds to a second service or a second content, using the first processor to transmit at least a portion of the data to a second external device.

CLAIM OF PRIORITY

This application claims the benefit under 35 U.S.C. §119(a) of a Koreanpatent application filed in the Korean Intellectual Property Office onJan. 28, 2015 and assigned Serial No. 10-2015-0013397, the entiredisclosure of which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to electronic devices, in general, andmore particularly, to a method and apparatus for managing data using aplurality of processors.

BACKGROUND

An electronic device may provide a user with a communication function ora data input/output function executed with an external device byprocessing a large amount of data in various manners using, for example,a plurality of processors. The processors may include a first processor(for example, a communication processor (CP)) for transmitting andreceiving data to and from an external device, for example, by wirelessor wired communication, and a second processor (for example, anapplication processor (AP)) for processing the data in a form suitablefor an input or output device operatively connected to the electronicdevice.

Conventionally, if an electronic device having a plurality of processorsincluding a first processor (for example, a CP) and a second processor(for example, an AP) receives data from an external device using thefirst processor (for example, a CP), it unconditionally transmits thereceived data to the second processor (for example, an AP) withoutdetermining whether the second processor (for example, an AP) is in asleep state, in order to process the received data suitably for anoutput device. For example, even though the received data is of lowimportance or includes user-unintended data, the electronic deviceswitches the second processor (for example, an AP) from the sleep stateto an active state and processes the received data using the secondprocessor (for example, an AP), to immediately provide the received datato a user.

In some cases, when the electronic device acquires (for example,receives) data transmitted by an external device, the (acquired) datamay be provided to the user through another external device, not throughthe electronic device. Even in this case, the conventional electronicdevice switches the second processor (for example, an AP) from the sleepstate to the active state using the first processor (for example, a CP)that has received the data transmitted by the external device, and thentransmits the data to another external device using the (active) secondprocessor. For example, the electronic device transmits data in theorder of the first processor, the second processor, and the externaldevice.

Since the conventional electronic device switches the second processorto the active state unconditionally in response to data reception withno regard to the property of the data or the state of the secondprocessor, the use of the second processor unnecessarily increasescurrent consumption. Moreover, if the received data has a relatively lowpriority level, the user may want to check the data sometime afterreception of the data according to the state of the electronic device(for example, a residual battery capacity, a used memory capacity, orthe temperature of the electronic device). Nonetheless, each time theelectronic device receives data, the electronic device switches thesecond processor from the sleep state to the active state and thusimmediately provides the received data to the user. As a consequence,user-unintended data may often be provided to the user, thus causinguser inconvenience.

The above information is provided as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

According to aspects of the disclosure, a method is provided formanaging data in an electronic device including a first processor and asecond processor, the method comprising: receiving, by the firstprocessor, a message transmitted by a first external device;identifying, by the first processor, a service or an applicationcorresponding to the message based on information of the massage; anddetermining, by the first processor, whether activating the secondprocessor to process the message or providing at least a portion of themessage to a second external device which is operatively coupled withthe electronic device, according to the identified service orapplication corresponding to the message.

According to aspects of the disclosure, an electronic device is providedcomprising: a memory; a first processor operatively coupled to thememory; a second processor operatively coupled to the memory, whereinthe first processor is configured to: receive a message transmitted by afirst external device, identify a service or an applicationcorresponding to the message based on information of the massage,determining, by the first processor, whether activating the secondprocessor to process the message or providing at least a portion of themessage to a second external device which is operatively coupled withthe electronic device, according to the identified service orapplication corresponding to the message.

According to aspects of the disclosure, a non-transitorycomputer-readable medium is provided that stores one or more processorexecutable instructions, which when executed by a first processor of anelectronic device cause the first processor to perform a methodcomprising the steps of: receiving, by the first processor, a messagetransmitted by a first external device; identifying, by the firstprocessor, a service or an application corresponding to the messagebased on information of the massage; and determining, by the firstprocessor, whether activating the second processor to process themessage or providing at least a portion of the message to a secondexternal device which is operatively coupled with the electronic device,according to the identified service or application corresponding to themessage.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses exemplary embodiments of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of certainexemplary embodiments of the present disclosure will be more apparentfrom the following description taken in conjunction with theaccompanying drawings, in which:

FIG. 1 is a block diagram of an example of a network environment,according to various embodiments;

FIG. 2 is a block diagram of an example of an electronic device,according to various embodiments;

FIG. 3 is a diagram illustrating an example of a plurality of dataflows, according to various embodiments;

FIG. 4 is a block diagram of an example of an electronic device,according to various embodiments;

FIG. 5A is a flowchart is a flowchart of an example of a process,according to various embodiments;

FIG. 5B is a flowchart is a flowchart of an example of a process,according to various embodiments;

FIG. 6A is a diagram of an example of a system, according to variousembodiments;

FIG. 6B is a flowchart of an example of a process, according to variousembodiments;

FIG. 7 is a sequence diagram of an example of a process, according tovarious embodiments;

FIG. 8 is a sequence diagram of an example of a process, according tovarious embodiments; and

FIG. 9 is a block diagram of an example of a programming module,according to various embodiments.

Throughout the drawings, like reference numerals will be understood torefer to like parts, components, and structures.

DETAILED DESCRIPTION

Various embodiments of the present disclosure are described withreference to the accompanying drawings. However, the scope of thepresent disclosure is not intended to be limited to the particularembodiments, and it is to be understood that the present disclosurecovers all modifications, equivalents, and/or alternatives fallingwithin the scope and spirit of the present disclosure. In relation to adescription of the drawings, like reference numerals denote the samecomponents.

In the present disclosure, the term ‘have’, ‘may have’, ‘include’, or‘may include’ signifies the presence of a specific feature (for example,number, function, operation, or component like a part), not excludingthe presence of addition of one or more other features.

In the present disclosure, the term ‘A or B’, ‘at least one of A or/andB’, or ‘one or more of A or/and B’ may cover all possible combinationsof enumerated items. For example, ‘A or B’, ‘at least one of A and B’,or ‘at least one of A or B’ may represent all of the cases of (1)inclusion of at least one A, (2) inclusion of at least one B, and (3)inclusion of at least one A and at least one B.

The term as used in the present disclosure, ‘first’ or ‘second’ maymodify the names of various components irrespective of sequence and/orimportance, not limiting the components. These expressions may be usedto distinguish one component from another component. For example, afirst user equipment (UE) and a second UE may indicate different UEsirrespective of sequence or importance. For example, a first componentmay be referred to as a second component and vice versa withoutdeparting the scope of the present disclosure.

When it is said that a component (for example, a first component) is‘operatively or communicatively coupled with/to’ or ‘connected to’another component (for example, a second component), it should beunderstood that the one component is connected to the other componentdirectly or through any other component (for example, a thirdcomponent). On the other hand, when it is said that a component (forexample, a first component) is ‘directly connected to’ or ‘directlycoupled to’ another component (for example, a second component), it maybe understood that there is no other component (for example, a thirdcomponent) between the components.

The term ‘configured to’ as used in the present disclosure may bereplaced with, for example, the term ‘suitable for’ ‘having the capacityto’, ‘designed to’, ‘adapted to’, ‘made to’, or ‘capable of’ undercircumstances. The term ‘configured to’ may not necessarily mean‘specifically designed to’ in hardware. Instead, the term ‘configuredto’ may mean that a device may mean ‘capable of’ with another device orpart. For example, ‘a processor configured to execute A, B, and C’ maymean a dedicated processor (for example, an embedded processor) forperforming the corresponding operations or a generic-purpose processor(for example, a central processing unit (CPU) or an applicationprocessor (AP)) for performing the corresponding operations.

The terms as used in the present disclosure are provided to describemerely specific embodiments, not intended to limit the scope of otherembodiments. It is to be understood that singular forms include pluralreferents unless the context clearly dictates otherwise. The terms andwords including technical or scientific terms used in the followingdescription and claims may have the same meanings as generallyunderstood by those skilled in the art. The terms as generally definedin dictionaries may be interpreted as having the same or similarmeanings as or to contextual meanings of related technology. Unlessotherwise defined, the terms should not be interpreted as ideally orexcessively formal meanings. When needed, even the terms as defined inthe present disclosure may not be interpreted as excluding embodimentsof the present disclosure.

According to various embodiments of the present disclosure, anelectronic device may be at least one of, for example, a smartphone, atablet personal computer (PC), a mobile phone, a video phone, an e-bookreader, a desktop PC, a laptop PC, a netbook computer, a workstation, aserver, a personal digital assistant (PDA), a portable multimedia player(PMP), an MPEG-1 audio layer-3 (MP3) player, a mobile medical equipment,a camera, and a wearable device. According to various embodiments, thewearable device may be at least one of an accessory type (for example, awatch, a ring, a bracelet, an ankle bracelet, a necklace, glasses,contact lenses, or a head-mounted device (HMD)), a fabric or clothestype (for example, electronic clothes), a body-attached type (forexample, a skin pad or a tattoo), and an implantable type (for example,an implantable circuit).

According to some embodiments, an electronic device may be a homeappliance. For example, the home appliance may be at least one of, forexample, a television (TV), a digital versatile disk (DVD) player, anaudio player, a refrigerator, an air conditioner, a vacuum cleaner, anoven, a microwave oven, a washer, an air purifier, a set-top box, a homeautomation control panel, a security control panel, a TV box (forexample, Samsung HomeSync™, Apple TV™, Google TV™, or the like), a gameconsole (for example, Xbox™, PlayStation™, or the like), an electronicdictionary, an electronic key, a camcorder, and an electronic pictureframe.

According to other embodiments, an electronic device may be at least oneof a medical device (for example, a portable medical meter such as ablood glucose meter, a heart rate meter, a blood pressure meter, or abody temperature meter, a magnetic resonance angiography (MRA) device, amagnetic resonance imaging (MRI) device, a computed tomography (CT)device, an imaging device, an ultrasonic device, or the like), anavigation device, a global navigation satellite system (GNSS), an eventdata recorder (EDR), a flight data recorder (FDR), an automotiveinfotainment device, a naval electronic device (for example, a navalnavigation device, a gyrocompass, or the like), an avionic electronicdevice, a security device, an in-vehicle head unit, an industrial orconsumer robot, an automatic teller machine (ATM) in a financialfacility, a point of sales (POS) device in a shop, an Internet of things(IoT) device (for example, a lighting bulb, various sensors, anelectricity or gas meter, a sprinkler, a fire alarm, a thermostat, astreet lamp, a toaster, sports goods, a hot water tank, a heater, or aboiler), and the like.

According to some embodiments, an electronic device may be at least oneof furniture, part of a building/structure, an electronic board, anelectronic signature receiving device, a projector, and variousmeasuring devices (for example, water, electricity, gas orelectro-magnetic wave measuring devices). According to variousembodiments, an electronic device may be one or a combination of two ormore of the foregoing devices. According to some embodiments, anelectronic device may be a flexible electronic device. In addition, itwill be apparent to one having ordinary skill in the art that anelectronic device according to an embodiment of the present disclosureis not limited to the foregoing devices and covers a new electronicdevice produced along with technology development.

With reference to the attached drawings, an electronic device accordingto various embodiments will be described below. In the presentdisclosure, the term ‘user’ may refer to a person or device (forexample, artificial intelligence electronic device) that uses anelectronic device.

Referring to FIG. 1, an electronic device 101 in a network environment100 according to various embodiments is described. The electronic device101 may include a bus 110, a processor 120, a memory 130, aninput/output (I/O) interface 150, a display 160, and a communicationinterface 170. In some embodiments, at least one of the components maybe omitted in the electronic device 101 or a component may be added tothe electronic device 101.

The bus 110 may include a circuit that interconnects, for example, theforegoing components 110 to 170 and allows communication (for example,control messages and/or data) between the foregoing components 110 to170.

The processor 120 may include one or more of a CPU, an AP, and acommunication processor (CP). The processor 120 may, for example,execute computation or data processing related to control and/orcommunication of at least one other component of the electronic device101.

The memory 130 may include a volatile memory and/or non-volatile memory.The memory 130 may, for example, store instructions or data related toat least one other component. According to an embodiment, the memory 130may store software and/or programs 140. The programs 140 may include,for example, a kernel 141, middleware 143, an application programminginterface (API) 145, and/or application programs (or applications) 147.At least a part of the kernel 141, the middleware 143, and the API 145may be called an operating system (OS).

The kernel 141 may control or manage system resources (for example, thebus 110, the processor 120, or the memory 130) that are used inexecuting operations or functions implemented in other programs such asthe middleware 143, the API 145, or the application programs 147. Also,the kernel 141 may provide an interface for allowing the middleware 143,the API 145, or the application programs 147 to access and control ormanage individual components of the electronic device 101.

The middleware 143 may serve as a medium through which the kernel 141may communicate with, for example, the API 145 or the applicationprograms 147 to transmit and receive data. Also, the middleware 143 mayprocess one or more task requests received from the application programs147 according to their priority levels. For example, the middleware 143may assign priority levels for using system resources (the bus 110, theprocessor 120, or the memory 130) of the electronic device 101 to atleast one of the application programs 147. For example, the middleware143 may perform scheduling or load balancing for the one or more taskrequests according to the priority levels assigned to the at least oneapplication program 147.

The API 145 is an interface that may control functions that theapplication programs 147 provide at the kernel 141 or the middleware143. For example, the API 145 may include at least one interface orfunction (for example, a command) for file control, window control,video processing, or text control.

The I/O interface 150 may, for example, act as an interface thatprovides a command or data received from a user or an external device tothe other component(s) of the electronic device 101. Further, the I/Ointerface 150 may output a command or data received from the othercomponent(s) to the user or the external device.

The display 160 may include, for example, a liquid crystal display(LCD), a light-emitting diode (LED) display, an organic LED (OLED)display, a microelectromechanical systems (MEMS) display, or anelectronic paper display. The display 160 may display, for example,various types of content (for example, text, an image, a video, an icon,or a symbol) to the user. The display 160 may include a touch screen andreceive, for example, a touch input, a gesture input, a proximity input,or a hovering input through an electronic pen or a user's body part.

The communication interface 170 may establish communication, forexample, between the electronic device 101 and an external device (forexample, a first external electronic device 102, a second externalelectronic device 104, or a server 106). For example, the communicationinterface 170 may be connected to a network 162 by wireless or wiredcommunication and communicate with the external device (for example, thesecond external electronic device 104 or the server 106) over thenetwork 162.

The wireless communication may be conducted using, for example, at leastone of long-term evolution (LTE), LTE-advanced (LTE-A), code divisionmultiple access (CDMA), wideband CDMA (WCDMA), universal mobiletelecommunication system (UMTS), wireless broadband (WiBro), or globalsystem for mobile communications (GSM), as a cellular communicationprotocol. The wireless communication may include, for example,short-range communication 164. The short-range communication 164 may beconducted by, for example, at least one of wireless fidelity (WiFi),Bluetooth, near field communication (NFC), and GNSS. GNSS may include,for example, at least one of global positioning system (GPS), globalnavigation satellite system (GLONASS), Beidou navigation satellitesystem (hereinafter, referred to as ‘Beidou’), and Galileo, the Europeanglobal satellite-based navigation system, according to a region usingthe GNSS or a bandwidth. In the present disclosure, the terms ‘GPS’ and‘GNSS’ are interchangeably used with each other. The wired communicationmay be conducted in conformance with, for example, at least one ofuniversal serial bus (USB), high definition multimedia interface (HDMI),recommended standard 2302 (RS-2302), and plain old telephone service(POTS). The network 162 may be a telecommunication network, for example,at least one of a computer network (for example, local area network(LAN) or wide area network (WAN)), the Internet, and a telephonenetwork.

Each of the first and second external electronic devices 102 and 104 maybe of the same type as or a different type from the electronic device101. According to an embodiment, the server 106 may include a group ofone or more servers. According to various embodiments, all or a part ofoperations performed in the electronic device 101 may be performed inone or more other electronic devices (for example, the electronicdevices 102 and 104) or the server 106. According to an embodiment, ifthe electronic device 101 is to perform a function or a serviceautomatically or upon request, the electronic device 101 may request atleast a part of functions related to the function or the service toanother device (for example, the electronic device 102 or 104 or theserver 106), instead of performing the function or the serviceautonomously, or additionally. The other electronic device (for example,the electronic device 102 or 104 or the server 106) may execute therequested function or an additional function and provide a result of thefunction execution to the electronic device 101. The electronic device101 may provide the requested function or service based on the receivedresult or by additionally processing the received result. For thispurpose, for example, cloud computing, distributed computing, orclient-server computing may be used.

FIG. 2 is a block diagram of an electronic device 201 according tovarious embodiments. The electronic device 201 may include, for example,the whole or part of the electronic device 101 illustrated in FIG. 1.The electronic device 201 may include at least one processor (forexample, AP) 210, a communication module 220, a subscriberidentification module (SIM) 224, a memory 230, a sensor module 240, aninput device 250, a display 260, an interface 270, an audio module 280,a camera module 291, a power management module 295, a battery 296, anindicator 297, and a motor 298.

The processor 210 may, for example, control a plurality of hardware orsoftware components that are connected to the processor 210 by executingan OS or an application program and may perform processing orcomputation of various types of data. The processor 210 may beimplemented, for example, as a system on chip (SoC). According to anembodiment, the processor 210 may further include a graphics processingunit (GPU) and/or an image signal processor. According to an embodiment,the processor 210 may include at least a part (for example, a cellularmodule 221) of the components illustrated in FIG. 2. The processor 210may load a command or data received from at least one of othercomponents (for example, a non-volatile memory), process the loadedcommand or data, and store various types of data in the non-volatilememory.

The communication module 220 may have the same configuration as or asimilar configuration to the communication interface 170 illustrated inFIG. 1. The communication module 220 may include, for example, thecellular module 221, a WiFi module 223, a Bluetooth (BT) module 225, aGNSS module 227 (for example, a GPS module, a Glonass module, a Beidoumodule, or a Galileo module), an NFC module 228, and a radio frequency(RF) module 229.

The cellular module 221 may provide services such as voice call, videocall, short message service (SMS), or the Internet, for example, througha communication network. According to an embodiment, the cellular module221 may identify and authenticate the electronic device 201 within acommunication network, using the SIM (for example, a SIM card) 224.According to an embodiment, the cellular module 221 may perform at leasta part of the functionalities of the processor 210. According to anembodiment, the cellular module 221 may include a CP. While the cellularmodule 221 has been described as included in the CP, for the convenienceof description, the CP may include the cellular module 221 (the CP maybe included in the cellular module 221) according to variousembodiments. This may be changed depending on a circuit design or logicstructure made by a designer or manufacturer of the electronic device.

Each of the WiFi module 223, the BT module 225, the GNSS module 227, andthe NFC module 228 may include, for example, a processor that mayprocess data received or transmitted by the respective modules.According to an embodiment, at least a part (for example, two or more)of the cellular module 221, the WiFi module 223, the BT module 225, theGNSS module 227, and the NFC module 228 may be included in a singleintegrated chip (IC) or IC package.

The RF module 229 may transmit and receive, for example, communicationsignals (for example, RF signals). The RF module 229 may include, forexample, a transceiver, a power amplifier module (PAM), a frequencyfilter, a low noise amplifier (LNA), an antenna, or the like. Accordingto another embodiment, at least one of the cellular module 221, the WiFimodule 223, the BT module 225, the GNSS module 227, and the NFC module228 may transmit and receive RF signals via a separate RF module.

The SIM 224 may include, for example, a card including the SIM and/or anembedded SIM. The SIM 224 may include a unique identifier (for example,integrated circuit card identifier (ICCID)) or subscriber information(for example, international mobile subscriber identity (IMSI)).

The memory 230 (for example, the memory 130) may include, for example,an internal memory 232 or an external memory 234. The internal memory232 may be at least one of, for example, a volatile memory (for example,dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM(SDRAM)), and a non-volatile memory (for example, one-time programmableROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM(EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM,flash ROM, flash memory (for example, NAND flash memory, or NOR flashmemory), a hard drive, and a solid state drive (SSD)).

The external memory 234 may further include a flash drive such as acompact flash (CF) drive, a secure digital (SD), a micro secure digital(micro-SD), a mini secure digital (mini-SD), an extreme digital (xD), amulti-media card (MMC), or a memory stick. The external memory 234 maybe operatively and/or physically coupled to the electronic device 201via various interfaces.

The sensor module 240 may, for example, measure physical quantities ordetect operational states of the electronic device 201, and convert themeasured or detected information into electric signals. The sensormodule 240 may include at least one of, for example, a gesture sensor240A, a gyro sensor 240B, an atmospheric pressure sensor 240C, amagnetic sensor 240D, an accelerometer 240E, a grip sensor 240F, aproximity sensor 240G, a color sensor (for example, a red, green, blue(RGB) sensor) 240H, a biometric sensor 240I, a temperature/humiditysensor 240J, an illumination sensor 240K, and an ultraviolet (UV) sensor240M. Additionally or alternatively, the sensor module 240 may include,for example, an electrical-nose (E-nose) sensor, an electromyography(EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram(ECG) sensor, an infrared (IR) sensor, an iris sensor, and/or afingerprint sensor. The sensor module 240 may further include a controlcircuit for controlling one or more sensors included therein. Accordingto some embodiments, the electronic device 201 may further include aprocessor configured to control the sensor module 240, as a part of orseparately from the processor 210. Thus, while the processor 210 is in asleep state, the control circuit may control the sensor module 240.

The input device 250 may include, for example, a touch panel 252, a(digital) pen sensor 254, a key 256, or an ultrasonic input device 258.The touch panel 252 may operate in at least one of, for example,capacitive, resistive, infrared, and ultrasonic schemes. The touch panel252 may further include a control circuit. The touch panel 252 mayfurther include a tactile layer to thereby provide haptic feedback tothe user.

The (digital) pen sensor 254 may include, for example, a detection sheetwhich is a part of the touch panel or separately configured from thetouch panel. The key 256 may include, for example, a physical button, anoptical key, or a keypad. The ultrasonic input device 258 may senseultrasonic signals generated by an input tool using a microphone (forexample, a microphone 288), and identify data corresponding to thesensed ultrasonic signals.

The display 260 (for example, the display 160) may include a panel 262,a hologram device 264, or a projector 266. The panel 262 may have thesame configuration as or a similar configuration to the display 160illustrated in FIG. 1. The panel 262 may be configured to be, forexample, flexible, transparent, or wearable. The panel 262 and the touchpanel 252 may be implemented as a single module. The hologram device 264may utilize the interference of light waves to provide athree-dimensional image in empty space. The projector 266 may provide animage by projecting light onto a screen. The screen may be positioned,for example, inside or outside the electronic device 201. According toan embodiment, the display 260 may further include a control circuit forcontrolling the panel 262, the hologram device 264, or the projector266.

The interface 270 may include, for example, an HDMI 272, a USB 274, anoptical interface 276, or a D-subminiature (D-sub) 278. The interface270 may be included, for example, in the communication interface 170illustrated in FIG. 1. Additionally or alternatively, the interface 270may include, for example, a mobile high-definition link (MHL) interface,an SD/multimedia card (MMC) interface, or an infrared data association(IrDA) interface.

The audio module 280 may convert, for example, a sound to an electricalsignal, and vice versa. At least a part of the components of the audiomodule 280 may be included, for example, in the I/O interface 150illustrated in FIG. 1. The audio module 280 may process soundinformation input into, or output from, for example, a speaker 282, areceiver 284, an earphone 286, or the microphone 288.

The camera module 291 may capture, for example, still images and avideo. According to an embodiment, the camera module 291 may include oneor more image sensors (for example, a front sensor or a rear sensor), alens, an image signal processor (ISP), or a flash (for example, an LEDor a xenon lamp).

The power management module 295 may manage the power supply of theelectronic device 201. According to an embodiment, the power managementmodule 295 may include a power management integrated circuit (PMIC), acharger IC, or a battery fuel gauge. The PMIC may adopt wired and/orwireless charging. The wireless charging may be performed, for example,in a magnetic resonance scheme, a magnetic induction scheme, or anelectromagnetic wave scheme, and may use additional circuits forwireless charging, such as a coil loop, a resonance circuit, or arectifier. The battery fuel gauge may measure, for example, a chargelevel, a voltage while charging, current, or temperature of the battery296. The battery 296 may include, for example, a rechargeable batteryand/or a solar battery.

The indicator 297 may indicate specific states of the electronic device201 or a part of the electronic device 201 (for example, the processor210), for example, boot status, message status, or charge status. Themotor 298 may convert an electrical signal into a mechanical vibrationand generate vibrations or a haptic effect. While not shown, theelectronic device 201 may include a processing device for supportingmobile TV (for example, a GPU). The processing device for supportingmobile TV may process media data compliant with, for example, digitalmultimedia broadcasting (DMB), digital video broadcasting (DVB), orMediaFLO.

Each of the above-described components of the electronic device mayinclude one or more parts and the name of the component may vary withthe type of the electronic device. According to various embodiments, theelectronic device may be configured to include at least one of theafore-described components. Some component may be omitted from or addedto the electronic device. According to various embodiments, one entitymay be configured by combining a part of the components of theelectronic device, to thereby perform the same functions of thecomponents prior to the combining.

FIG. 3 is a diagram illustrating an example of a plurality of dataflows, according to various embodiments. A description will not be givenfor the same part as or a similar part to that illustrated in FIGS. 1and 2.

Referring to FIG. 3, data may be exchanged between an electronic device301 (for example, the electronic device 101), a first external device330 (for example, the electronic device 104), and a second externaldevice 350 (for example, the electronic device 102), for example, over anetwork 362 (for example, the network 162) or through short-rangecommunication 365 (for example, the short-range communication 164) in anetwork environment 300. For example, the data transmitted from thefirst external device 330 to the electronic device 301 (for example, theelectronic device 101) may follow a first transmission path 331 when thedata is not forwarded further by the electronic device 301. When thedata is forwarded to a second external device 350, the data may follow asecond transmission path 333.

According to an embodiment, the electronic device 301 may include afirst processor 321 (for example, a CP), a second processor 323 (forexample, the processor 210), and a communication module 325 (forexample, the WiFi module 223, the BT module 225, or the NFC module 228).For example, even though the second processor 323 for processing datarelated to an application is in a sleep state, the first processor 321may process the data received from the first external device 330 throughthe network 362 and transmit the processed data to the second processor323, or the second external device 350 by the short-range communication364. The first external device 330 may be any of, for example, an appserver that manages (for example, stores, updates, or provides) one ormore applications, or various electronic devices that may share one ormore applications with other devices, like a smartphone, a laptopcomputer, a tablet PC, a wearable electronic device, or electronicfurniture.

According to an embodiment, the first processor 321 may select adifferent transmission path for the received data based on at least apart of the received data. For example, the first processor 321 mayselect at least one of the first transmission path 331 and the secondtransmission path 333 based on the type of an application that isidentified based on the data. For example, the first processor 321 mayselect only the first transmission path 331, only the secondtransmission path 333, or both the first and second transmission paths331 and 333, based on an application type.

For example, if the data is data related to a first application (forexample, data displayable through the first application), the firstprocessor 321 may transmit at least a part of the data to the secondprocessor 323 via the first transmission path 331. According to anembodiment, when the data is transmitted over the first transmissionpath 331, the second processor 323 may transition from the sleep stateto the active state and provide (for example, output) at least a part ofthe data to a user.

On the other hand, if the data is data related to a second application(for example, data displayable through the second application), thefirst processor 321 may transmit at least a part of the data to thesecond external device 350, for example, in the second transmission path333. In this case, the first processor 321 may transmit the data to thesecond external device 350 via the second transmission path 333.According to an embodiment, the first processor 321 may transmit, forexample, at least a part of the data to the communication module 325 sothat at least a part of the data may be transmitted to the secondexternal device 350 by the short-range communication 364. In this case,the second processor 323 may be maintained, for example, in the sleepstate.

The sleep state may include, for example, a state in which the secondprocessor 323 does not process any data. The sleep state may alsoinclude, for example, a state in which a clock signal allowing thesecond processor 323 to receive an interrupt signal from the firstprocessor 321 is provided to the second processor 323. The interruptsignal may be, for example, a signal indicating the absence of data tobe processed by the second processor 323, a signal that releases thesecond processor 323 from the sleep state, an active request signal forthe second processor 323, or a signal including data (for example, atleast a part of the data) transmitted by the first or second externaldevice 330 or 350.

The active state may refer to, for example, a state in which the secondprocessor 323 is processing specific data. For example, the active statemay include a state in which an image (for example, a home image) isoutput on a display operatively connected to the second processor 323, astate in which an execution screen of an application is output on thedisplay, or a state in which at least a part of the data is provided toa user through various output devices. According to an embodiment, theactive state may include, for example, a state in which although no datais output through an output device, the second processor 323 processesspecific data in the background.

According to an embodiment, if the first transmission path 331 isdetermined to be the transmission path of the data, the second processor323 may switch, for example, from the sleep state to the active stateand provide at least a part of the data to the user. For example, thesecond processor 323 may output the at least part of the data forpresentation to the user in image, sound, vibration, or scent through.The data may be output by using a display (for example, the display260), an audio module (for example, the audio module 280), a motor (forexample, the motor 298), or a scent emitter, which is operativelyconnected to the second processor 323.

The second external device 350 may include, for example, a communicationmodule 351 and a processor 353 (for example, an AP). The communicationmodule 351 may transmit at least a part of the data received from theelectronic device 301 to the processor 353, for example, in the secondtransmission path 333. The processor 353 may output at least part of thedata for presentation to a user via a display, an audio module, a motor,or a scent emitter, which is operatively connected to the processor 353.According to an embodiment, the second external device 350 may be awearable and/or implantable electronic device.

While it has been described above that the first processor 321 receivesthe data from the first external device 330 through the network 362 byway of example, in some implementations the first processor 321 mayreceive data from the first external device 330 via the short-rangecommunication 364 instead. Further, the first processor 321 may transmitthe data received from the first external device 330 to the secondexternal device 350 through the network 362 and/or by using theshort-range communication 364, according to various embodiments.

FIG. 4 is a block diagram of an example of an electronic device (forexample, the electronic device 101) according to various embodiments.The same components as or similar components to those illustrated inFIGS. 1, 2, and 3 will not be described herein. Referring to FIG. 4, anelectronic device 401 may include, for example, a first processor 410(for example, the first processor 321), a second processor 430 (forexample, the second processor 323), a display 440 (for example, thedisplay 160), and a memory 480 (for example, the memory 130 or 230).

The first processor 410 may include any suitable type of processingcircuitry, such as one or more general-purpose processors (e.g.,ARM-based processors), a Digital Signal Processor (DSP), a ProgrammableLogic Device (PLD), an Application-Specific Integrated Circuit (ASIC), aField-Programmable Gate Array (FPGA), etc. The second processor 430 mayinclude any suitable type of processing circuitry, such as one or moregeneral-purpose processors (e.g., ARM-based processors), a DigitalSignal Processor (DSP), a Programmable Logic Device (PLD), anApplication-Specific Integrated Circuit (ASIC), a Field-ProgrammableGate Array (FPGA), etc. The memory 480 may include any suitable type ofvolatile or non-volatile memory, such as Random-access Memory (RAM),Read-Only Memory (ROM), Network Accessible Storage (NAS), cloud storage,a Solid State Drive (SSD), etc.

According to aspects of the disclosure, the first processor 410 mayinclude, for example, a first communication module 411, a dataprocessing module 413, and a communication control module 415. Accordingto an embodiment, the first processor 410 may receive data 450transmitted by one or more external devices (for example, the firstexternal device 330) (hereinafter, referred to as ‘first externaldevices’), for example, through the first communication module 411. Thedata 450 may be received, for example, while the second processor 430 isin the sleep state. According to an embodiment, the data 450 may beprocessed in a different path according to content included in the data450 or a service (for example, an application) that uses the data 450.Related additional information will be described below in relation to,for example, the data processing module 413.

According to an embodiment, the data 450 may include at least one of adestination internet protocol (IP) 451, a source IP 453, a useridentification (UID) 455, a function identification (FID) 457, andcontent 459. The destination IP 451 may include an address of areceiving device (for example, the electronic device 401) that willreceive the data 450. The source IP 453 may include an address of anelectronic device transmitting the data 450 (for example, the firstexternal device 330).

According to an embodiment, the UID 455 may include a uniquealphanumerical string and/or number that identifies an applicationcorresponding to the data. For example, if the data 450 is generated byor used for a first application (for example, a first instantmessenger), the UID 455 may include first identification information(for example, 001), and if the data 450 is related to a secondapplication (for example, a second instant messenger or a telephoneapplication), the UID 455 may include second identification information(for example, 002).

The FID 457 may include a unique alphanumerical string and/or a numberassociated with a specific function of the application corresponding tothe data 450 (for example, the application identified by the UID 455).For example, if the data 450 is generated by or used in conjunction witha first function of the application, the FID 457 may include firstidentification information (for example, 0001), and if the data 450 isgenerated by or used in conjunction with a second function of theapplication, the FID 457 may include second identification information(for example, 0002).

The present disclosure is not limited to any particular type of functionof a given application. For example, if the application is a mediaplayer, the first function may be a set of functions including at leastone (for example, video quality control) of functions provided by themedia player, such as video quality control, volume control, fastforward, rewind, and forward, and the second function may be a functionset including at least one other function (for example, volume control)than the first function.

In another example, if the application is a remote control applicationfor controlling another electronic device, the first function may be afunction set including at least one (for example, a call function) ofthe Internet, an information search function, the call function, and avital sign measuring function (for example, a function of measuringpulses, heartbeat, or a glucose level) that may be provided (forexample, executed) by, for example, the electronic device 401 or anotherelectronic device (for example, the second external device 350), and thesecond function may be a function set including at least one otherfunction (for example, the vital sign measuring function) than the firstfunction.

According to an embodiment, an application corresponding to data may bea messenger application supporting a plurality of chat groups includinga first chat group and a second chat group. In this case, functionssupporting the respective chat groups may be different functions of theapplication. For example, a user of the electronic device 401 mayconverse with the first chat group by a first function and chat with thesecond chat group by a second function. According to an embodiment, ifthe data 450 is a message transmitted by an electronic device of theother party belonging to the first chat group, the FIT 457 may include,for example, first identification information (for example, 00001) thatidentifies the first chat group from another chat group (for example,the second chat group). On the other hand, if the data 450 is a messagetransmitted by an electronic device of the other party belonging to thesecond chat group, the FIT 457 may include, for example, secondidentification information (for example, 00002) that identifies thesecond chat group from another chat group (for example, the first chatgroup). An identification number of a chat group may be included insteadof identification information about a function, or additionally.

The content 459 may include, for example, a number, a symbol, acharacter, a character sequence, text, a sound (for example, a humanvoice, a sound recorded from an ambient environment of the electronicdevice 401, or music), a still image (for example, a picture, a jointphotographic coding experts group (JPG) file, or a portable documentformat (PDF) file), or a video (for example, a music video, moviecontent, or a video recorded using various electronic devices).According to an embodiment, the content 459 may further include aspecific control signal for controlling the electronic device 401 oranother electronic device.

According to various embodiments, a part of the destination IP 451, thesource IP 453, the UID 455, the FID 457, and the content 459 may not beincluded in the data 450 or may be replaced with other information inthe structure of the data 450 illustrated in FIG. 4. For example, thedata may not include the FID 457 and may be replaced with a prioritylevel of the data. According to an embodiment, the data may furtherinclude other information in addition to the afore-described types ofinformation.

The data processing module 413 may select at least one of the electronicdevice 401 and one or more other external devices (for example, thesecond external device 350) (hereinafter, referred to as ‘secondexternal devices’), to output at least a part of data to a user. Forexample, the data processing module 413 may identify at least one of:(i) a service (for example, an application, a function, or a prioritylevel corresponding to the application) and (ii) content (for example, apriority level corresponding to the content) corresponding to the data,and select a device for outputting at least a part of the data based onthe determined service and/or content.

According to an embodiment, the data processing module 413 may select atleast one electronic device based on an application corresponding to thedata. For example, if the data 450 is generated by or intended to beused by a first application (for example, a vital sign measuringapplication), the data processing module 413 may select a secondexternal device (for example, a wearable electronic device) as an outputdevice for outputting at least a part of the data 450. The secondexternal device may be one that is attached to or implanted in the user,which may readily measure one or more vital signs of the user. On theother hand, if the data 450 is generated by or intended to be used by asecond application (for example, a media player), the data processingmodule 413 may select an electronic device (for example, the electronicdevice 401) having a display that is larger than the display of thesecond external device, as an output device for outputting the data 450.

According to an embodiment, if there is a plurality of second externaldevices, the data processing module 413 may select at least one of theplurality of second external devices based on the applicationcorresponding to the data. For example, the user may wear electronicglasses and an electronic bracelet which are capable of communicatingwith the electronic device 401. If the application corresponding to thedata is a gaze recognition application for recognizing the gazedirection of the user, the data processing module 413 may select theelectronic glasses over the electronic bracelet as a device foroutputting at least a part of the data. On the other hand, if theapplication corresponding to the data is a motion measurementapplication for detecting the user's movements, the data processingmodule 413 may select, for example, the electronic bracelet attached toa wrist which may move more actively than other body parts of the user.The data processing module 413 may identify the applicationcorresponding to the data, for example, based on the UID 455 included inthe data.

According to an embodiment, if the data is associated with the firstfunction of the application, the data processing module 413 may selectthe electronic device 401 to output at least a part of the data. On theother hand, if the data is associated with the second function of theapplication, the data processing module 413 may select the secondexternal device to output at least a part of the data. According to anembodiment, the data processing module 413 may identify a function ofthe application, corresponding to the data based on the FID 457.

According to an embodiment, the data processing module 413 may select adevice for outputting at least a part of the data based on theapplication corresponding to the data or priority associated with theapplication. For example, the data may include data corresponding to afirst application (or a first function) to which a first priority levelis assigned, and data corresponding to a second application (or a secondfunction) to which a second priority level different from the firstpriority level is assigned.

According to an embodiment, upon receipt of first data having the firstpriority level, the data processing module 413 may select the electronicdevice 401 to output at least a part of the first data to the user, eventhough the second processor 430 is in the sleep state and cause thesecond processor 430 to transition from the sleep state to the activestate. On the other hand, upon receipt of the second data with thesecond priority level, the data processing module 413 may select thesecond external device to output at least a part of the second data tothe user. In some implementations, the selection of the second devicemay be further performed in consideration of (e.g., based on) the secondprocessor 430 being in the sleep state and it may permit the secondprocessor 430 to remain in the sleep state.

The data 450 may be prioritized according to at least one of, forexample, a user setting, a user state, a state of the electronic device401, and a data property. For example, if the user assigns a higherpriority level to a specific application (for example, a callapplication) than another application (for example, a brain wavemeasuring application), data corresponding to the specific applicationmay have priority over data corresponding to the other application. Inanother example, first data corresponding to the first function (forexample, the first chat group) may have a higher priority level thansecond data corresponding to the second function (for example, thesecond chat group) in the same application (for example, the messengerapplication) by a user setting. In this case, the data processing module413 may select, for example, the electronic device 401 (for example, aportable phone) as a device for outputting the first data, and thesecond external device (for example, a wearable device such as a watch)as a device for outputting the second data.

User states may be defined, for example, depending on whether the useris moving, whether the user sleeps, or whether a vital sign is normal.For example, if the user is moving at a first speed (for example, fast),the data processing module 413 may select an electronic watch wornaround the user's wrist, which is capable of communicating with theelectronic device 401. On the contrary, if the user is moving at asecond speed (for example, slow) different from the first speed, thedata processing module 413 may select, for example, the electronicdevice 401. States of the electronic device 401 may be defined, forexample, according to an available battery capacity, temperature, adistance to the user, a location of the electronic device 401 relativeto the user (for example, whether the display 440 is located at aposition that allows sensing of the gaze of the user), or a used memorycapacity. According to an embodiment, if the electronic device 401 has afirst temperature (for example, about 15 degrees), the data processingmodule 413 may select an external device capable of exchangingcommunications with the electronic device 401. On the other hand, if theelectronic device 401 has a second temperature (for example, about 5degrees), the data processing module 413 may select, for example, theelectronic device 401.

Data properties may be defined, for example, according to whether thecontent 459 includes information often accessed or used by the user,whether the content 459 includes a specific term, symbol, or imageselected by the user, or whether the content 459 needs to be providedurgently to the user. According to an embodiment, if the content 459includes a first image (for example, a picture of the user) selected bythe user, the data processing module 413 may select the electronicdevice 401 as a device for outputting at least a part of the data 450.Or if the content 459 includes a predetermined type of image, such as animage that is not selected by the user (for example, an advertisementimage), the data processing module 413, for example, may not provide thedata 450 to any entity or may select an external device as a device foroutputting at least a part of the data 450. [Table 1] illustratesexemplary information about data, stored as a table in the memory 480according to various embodiments.

TABLE 1 External Content data Application UID FID Priority device Outputdevice parser D1 Kakao ™ 001 0001 1 Electronic Electronic watch mainwatch Smartphone (e.g., electronic device 401) D2 Line ™ 002 0001 1Necklace Necklace Sub1 D3 Line ™ 002 0002 4 None None Sub2

Referring to [Table 1], data may be, for example, first data D1, seconddata D2, or third data D3. The UID of the first data D1 may be ‘001’identifying, for example, the Kakao application and the FID of the firstdata D1 may be ‘0001’ identifying, for example, a specific function ofthe Kakao application. The priority level of the first data D1 may beset to, for example, ‘1’ which is the highest priority level, and anelectronic device related to the first data D1 may be ‘electronicwatch’. Devices for outputting at least a part of the first data D1 maybe determined to be, for example, an electronic watch being the relatedexternal device and the electronic device 401 (which in this example isa smartphone).

The UID of the second data D2 may be ‘002’ identifying, for example, theLine application and the FID of the second data D2 may be ‘0001’identifying, for example, a first function (for example, a first chatgroup) of the Line application. The priority level of the second data D2may be set to, for example, ‘1’ which is the highest priority level, andan electronic device related to the second data D2 may be ‘necklace’.Devices for outputting at least a part of the second data D2 may bedetermined to be, for example, a necklace being the related externaldevice.

The UID of the third data D3 may be ‘002’ identifying, for example, theLine application and the FID of the third data D3 may be ‘0002’identifying, for example, a second function (for example, a second chatgroup) of the Line application. The priority level of the third data D3may be set to, for example, ‘4’ which is the lowest priority level, andan electronic device related to the third data D3 is ‘none’. Accordingto an embodiment, the third data D3 may not be output by any device dueto the lowest priority level of the third data D3.

According to an embodiment, at least a part of the first, second, andthird data D1, D2, and D3 may be decoded in different devices. Forexample, the content parser used for decoding one of the first, second,and third data D1, D2, and D3 may be varied according to a relateddevice (for example, a source device, destination device, or outputdevice of the data), a property of the data (for example, a service orcontent corresponding to the data), or the priority level of the data.

For example, referring to [Table 1], the content parser for the firstdata D1 may be ‘main’ and the first data D1 may be decoded in adestination device receiving the data (for example, the electronicdevice 401). For example, the first data D1 may be decoded through atleast one of a first processor 410, a second processor 430, and a lowpower processor 460.

As another example, the content parser for the second data D2 may be‘sub1’ and the second data D2 may be decoded in an external device, suchas the necklace (for example, by at least one processor included in thenecklace). As yet another example, the content parser for the third dataD3 may be ‘sub2’ and the third data D3 may not be decoded in any device.Rather, the third data D3 may be deleted from the electronic device 401,for example, by a setting, upon expiration of a predetermined timeperiod, or by a user input.

According to an embodiment, the data processing module 413 may include acontent parser 413-1 for decoding the data 450 transmitted by, forexample, the first external device. The content parser 413-1 maydetermine the contents, format, or amount of the data 450 that may beoutput to the user, for example, according to the performance orfunction of a device for outputting the data 450.

FIG. 4 illustrates an example in which the content parser 413-1 isincluded in the data processing module 413 and thus the first processor410 decodes data. Additionally or alternatively, the content parser maybe included in the second processor 430 or the low power processor 460according to various embodiments. According to an embodiment, thecontent parser 413-1 may be included in an application executable in theelectronic device 401. For example, a first application 491 may includea first content parser 491-1 for processing data related to the firstapplication 491. In another example, a second application 493 mayinclude a second content parser 493-1 for processing data related to thesecond application 493. According to an embodiment, the content parsersincluded in the first processor 410, the second processor 430, the lowpower processor 460, the first application 491, or the secondapplication 493 may have a different performance according to thecomputing power of their host devices or the manner in which they areimplemented. In this case, at least one appropriate content parser maybe selected and used according to, for example, one or morecharacteristics of the data that is to be decoded (for example, aproperty of the data, an application (or function) corresponding to thedata, or a processing path for the data).

[Table 2] illustrates various embodiments of processing data receivedfrom an external device using, for example, the content parser 413-1 inthe data processing module 413.

TABLE 2 Information included in data processing Transmission dataService data information data D1 SNS PID + UID + bit stream UID + bitstream UID (image + text) (image + text) D2 SNS PID + UID + bit stream(content parsable) UID (image + text) UID + bit stream image + text(image + text) D3 call PID + phone number phone number phone number (#)(#) (#) D4 call PID + phone number (phonebook phone number (#) checked)(#)(name phone number displayed) (#) D5 SMS PID + phone number phonenumber phone number (#) + text (#) + text (#) + text D6 SMS PID + phonenumber (phonebook Phone number (#) + text checked) (#) (name phonenumber displayed) + text (#) + text

Referring to [Table 2], the first data D1 transmitted by a socialnetworking service (SNS) corresponding to an external device (forexample, the first external device 330) may include, for example, apersonal identification (PID), a UID, or a bit stream. The PID mayinclude, for example, a personal number of a user (a user transmittingthe data) or identification information about the user (for example, thename or SNS identification (ID) of the user). The bit stream mayinclude, for example, an image or text as a video processing technique.

Referring to [Table 2], the data processing module 413 may provide a‘notification’ inform the user that the first data D1 (or at least apart of the first data D1) is received from the SNS at the firstprocessor 410. For this purpose, the data processing module 413 mayidentify, for example, the UID and bit stream of the first data D1 byusing the content parser 413-1, which is included in the first processor410. According to [Table 2], if the content parser 413-1 lacks thecapability to parse (or decode) the first data D1, the image and textincluded in the first data D1, for example, may not be decoded. In thiscase, at least a part of the first data D1 may be transmitted to anexternal device or the second processor 430 along with an associatedUID.

On the other hand, according to [Table 2], the first processor 410receiving the second data D2 from an SNS may have the capability toparse the second data D2. For example, the data processing module 413may decode at least a part of a UID, an image, and text included in thesecond data D2 using the content parser 413-1. In this case, the dataprocessing module 413 may transmit the decoded data to an externaldevice (for example, the second external device 350) or the secondprocessor 430, for example, using the communication control module 415.

Each of third data D3 and fourth data D4 transmitted through a callapplication may include, for example, a PID and a caller number (#). Toprovide a notification indicating reception of the third data D3 or thefourth data D4 (or at least a part of the data) at the first processor410, the data processing module 413 may identify the caller number (#)corresponding to the received data using, for example, the contentparser 413-1. The data processing module 413 may transmit the callernumber (#) to an external device (for example, the second externaldevice 350) or the second processor 430 using, for example, thecommunication control module 413. According to an embodiment, the dataprocessing module 413 may acquire contact information (for example, aname, an address, another phone number, or an email address)corresponding to the caller number (#) of, for example, the fourth dataD4 by searching contact information (for example, a phonebook) stored inthe electronic device 401 using, for example, the content parser 413-1.The data processing module 413 may transmit at least a part (forexample, the name) of the acquired contact information to the externalelectronic device 350 or the second processor 430 instead of the callernumber (#) or additionally to the caller number (#) using, for example,the communication control module 415.

Each of fifth data D5 and sixth data D6 transmitted by SMS may include,for example, a PID, a caller number (#), and text. The text may bewritten in, for example, ASCII code. To provide a notificationindicating reception of at least a part of the fifth data D5 or thesixth data D6, the data processing module 413 may identify the text andthe caller number (#) of the fifth data D5 or the sixth data D6 using,for example, the content parser 413-1. In this case, the data processingmodule 413 may transmit the caller number (#) or text of the fifth dataD5 to an external device or the second processor 430 using, for example,the communication control module 413. According to an embodiment, thedata processing module 413 may transmit the caller number (#) or text ofthe sixth data D6 together with identified caller name information to anexternal device or the second processor 430 using, for example, thecommunication control module 413.

The data processing information in Table 2 is provided only as anexample. According to various embodiments, at least part of the dataprocessing information may be replaced with other information or omittedaccording to the function or performance of the data processing module413 (for example, the content parser 413-1). According to variousembodiments, the data processing information may include otherinformation than listed in [Table 2], and different information may betransmitted to the second processor 430 or the second external deviceaccording to processed information.

The communication control module 415 may determine the transmission pathof the data based on which device is selected. For example, if theelectronic device 401 is selected, the communication control module 415may transmit at least a part of the data from the first processor 410 tothe second processor 430. On the other hand, if the second externaldevice is selected, the communication control module 415 may transmit atleast a part of the data from the first processor 410 to the secondexternal device, rather than to the second processor 430. In this case,the communication control module 415 may transmit at least part of thedata to the second external device through, for example, a secondcommunication module (for example, the communication module 325) of theelectronic device 401.

According to an embodiment, the communication control module 415 maytransmit the data decoded by the data processing module 413 to thesecond processor 430 or the second external device. In another example,the communication control module 415 may transmit at least a part of thedata to the second processor 430 or the second external device withoutdecoding it first. In such instances, at least a part of the undecodeddata may be decoded in the second processor 430, the low power processor460, an application corresponding to the undecoded data (for example,the first or second application 491 or 493), or the second externaldevice.

According to an embodiment, if the second processor 430 is in the sleepstate, the communication control module 415 may transition the secondprocessor 430 into the active state in order to transmit at least a partof the data to the second processor 430. For example, the communicationcontrol module 415 may switch the second processor 430 from the sleepstate to the active state by transmitting an interrupt signal to thesecond processor 430.

According to an embodiment, if the second processor 430 is in the sleepstate, the communication control module 415 may, for example, store atleast temporarily at least a part of the data in a memory 480operatively connected to the electronic device 401 in order to transmitthe at least part of the data to the second processor 430. According toan embodiment, after the second processor 430 enters the active state,at least a part of the stored data may be retrieved from the memory 480by the second processor 430. For example, the active-state secondprocessor 430 may read out at least a part of the data stored in thememory 480.

According to another embodiment, at least a part of the data stored inthe memory 480 may be automatically deleted according to a setting, uponexpiration of a predetermined time period, or without an additional userinput. For example, data of a spam message, a phishing message, or voicephishing may automatically be deleted immediately after reception of thedata, or upon expiration of a predetermined time period, without beingprovided to a user. In some embodiments, if the data includes user-settext, term, or image, the data stored in the memory 480 may be deletedautomatically without a user input.

According to an embodiment, the communication control module 415 maydetermine whether to transition the second processor 430 into the activestate according to the priority level of the data. For example, if thepriority level of the data is a first priority level (for example,“high”), the communication control module 415 may switch the secondprocessor 430 from the sleep state to the active state. On the otherhand, if the priority level of the data is a second priority level (forexample, “low”), the communication control module 415 may permit thesecond processor 430 to remain in the sleep state and store at least apart of the data in the memory 430. According to an embodiment, thecommunication control module 415 may determine whether to switch thesecond processor 430 to the active state based on at least one of a userstate, a state of the electronic device 401, a service corresponding tothe data, and content corresponding to the data, as well as the prioritylevel of the data.

The second processor 430 may output, for example, at least a part of thedata to the user through one or more output devices. According to anembodiment, the second processor 430 may vary the manner in which thedata is output to the user based on a part of the data (for example, aservice or content corresponding to the data). For example, if the datacorresponds to the first application, the second processor 430 mayprovide at least part of the data to the user by sound. On the otherhand, if the data corresponds to the second application, the secondprocessor 430 may visually output at least a part of the data on thedisplay 440. In another example, if the data corresponds to the firstfunction of the first application, the second processor 430 may outputthe at least part of the data by vibration. On the other hand, if thedata corresponds to the second function of the first application, thesecond processor 430 may output the at least part of the data, as visualinformation, on the display 440.

According to an embodiment, the second processor 430 may represent atleast a part of the data in various manners by using any of the first tofourth user interfaces 471, 473, 475, and 477. The first user interface471 may include, for example, a representation 471-1 of an application(a messenger application such as ChatON) corresponding to the data todistinguish the application from other applications. The second userinterface 473 may include, for example, the representation 471-1, text473-1 indicating the presence of a new message, or a menu 473-3 forreceiving a user input to view a new message or eliminate the seconduser interface 473 from the display 440. The third user interface 475may include, for example, the representation 471-1 or a part 475-1 ofthe content 459 that is part of the data. The part 475-1 may include,for example, text or an image (not shown) included in the content 459.The fourth user interface 477 may include, for example, another part477-1 (for example, a user interface for downloading a file from anexternal device) in addition to the information included in the thirduser interface 475.

According to an embodiment, information about data that may be output tothe user may be determined according to at least a part of the datatransmitted from the first processor 410 to the second processor 430.For example, if the UID 455 of the data is transmitted from the firstprocessor 410 to the second processor 430, the second processor 430 maydetermine data to be provided to the user (for example, therepresentation 471-1) by using the data processing module 431 anddisplay the determined data on the display 440. In another example, ifthe content 459 of the data is transmitted from the first processor 410to the second processor 430, the second processor 430 may display atleast a part of the content 459 by using the data processing module 431.

According to an embodiment, the second processor 430 may select a devicefor outputting at least a part of the data received through the firstprocessor 410 by using the data processing module 431 or thecommunication control module 433. If an external device (for example,the second external device 350) is selected to output the data, thesecond processor 430 may transmit at least a part of the data to theselected external device (for example, the second external device 350)using the second communication module 420 instead of the communicationcontrol module 433 or in addition to the communication control module433.

According to an embodiment, the low power processor 460 may include atleast one of, for example, a data processing module 461 and acommunication control module 461. The data processing module 463 and thecommunication control module 461 included in the low power processor 460may perform similar functions to those of the data processing module 431and the communication control module 433. For example, the low powerprocessor 460 may receive data from the first processor 410. In thiscase, the low power processor 460 may select a device for outputting atleast a part of the data using at least one of the data processingmodule 461 and the communication control module 463, and determine adata transmission path based on the selected device.

If the electronic device 401 is selected, the low power processor 460may transmit at least a part of the data to the second processor 430using, for example, the communication control module 463. On the otherhand, if the second external device is selected, the low power processor460 may transmit at least a part of the data to the second externaldevice using, for example, the communication control module 463 or thesecond communication module 420. In such instances, the low powerprocessor 460 may not use, for example, the second processor 430.According to an embodiment, the low power processor 460 may include aset of one or more processors or a set (for example, a sensor hub) ofsensors (for example, the sensor modules 240), which have powerconsumptions different from (for example, higher or lower than) thepower consumptions of the first processor 410 (for example, a CP) andthe second processor 430 (for example, an AP).

While operations or modules have been described above with reference toFIG. 4, the operations or modules that can be implemented in theelectronic device 401 may be implemented in, for example, an externaldevice (for example, the first and second external devices 330 and 350).For example, the description given of FIG. 4 is applicable to a wearableelectronic device, a home appliance, or other various electronic devicescommunicable with the electronic device 401.

While the first communication module 411, the data processing module413, and the communication control module 415 of the first processor 410have been illustrated and described as separate blocks with reference toFIG. 4, for the convenience of description, the first communicationmodule 411, the data processing module 413, and the communicationcontrol module 415 may be incorporated into one module. Or some of thefirst communication module 411, the data processing module 413, and thecommunication control module 415 may be incorporated into one module, sothat the first communication module 411, the data processing module 413,and the communication control module 415 may be incorporated into twomodules. Further, at least a part of operations perfumed in one modulemay be performed in, for example, another module. According to variousembodiments, the first processor 410 may further include an additionalmodule according to functions, a circuit design, or a logic structure,besides the foregoing modules. According to an embodiment, although thefirst processor 410 and the second processor 430 may be configured asphysically separate components (for example, separate chips), they maybe implemented as logically separate components in terms of functions oroperations.

According to various embodiments, an electronic device may include afirst processor and a second processor, receive data transmitted by anexternal device for the electronic device using the first processor, anddetermine an output device for outputting the data using the firstprocessor. If the output device is the electronic device, the electronicdevice may transmit at least a part of the data to the second processorusing the first processor. If the output device is another externaldevice for the electronic device, the electronic device may transmit theat least part of the data to the other external device.

According to various embodiments, an electronic device may include afirst processor for receiving data transmitted by an external device,and a second processor for receiving the data from the first processor.The first processor determines a service or content corresponding to thedata. If the data corresponds to a first service or first content, thefirst processor may transmit at least a part of the data to the secondprocessor. If the data corresponds to a second service or secondcontent, the first processor may transmit the at least part of the datato another external device for the electronic device.

According to various embodiments, while the second processor is in thesleep state, the first processor may transmit the at least part of thedata to the other external device.

According to various embodiments, the first processor may transmit theat least part of the data to the other external device without using thesecond processor.

According to various embodiments, the first service may include a firstfunction of an application, and the second service may include a secondfunction of the application.

According to various embodiments, the other external device may includea first external device and a second external device. If the secondservice includes the first function of the application, the firstprocessor may transmit the at least part of the data to the firstexternal device. If the second service includes the second function ofthe application, the first processor may transmit the at least part ofthe data to the second external device.

According to various embodiments, the first processor may switch thesecond processor from the sleep state to the active state.

According to various embodiments, if the first service has apredetermined priority level, the first processor may switch the secondprocessor from the sleep state to the active state.

According to various embodiments, the first processor may determine thepriority level based on a user setting, a state of a user, a state ofthe electronic device, a property of the data, or an application thatgenerates or uses the data.

According to various embodiments, the electronic device may furtherinclude a short-range communication module, and the first processor maytransmit the at least part of the data to the other external deviceusing the short-range communication module.

According to various embodiments, the electronic device may include afirst output device and a second output device. If the first serviceincludes the first function, the second processor may provide the atleast part of the data through the first output device. If the firstservice includes the second function, the second processor may providethe at least part of the data through the second output device.

According to various embodiments, the electronic device may include afirst output device and a second output device. If the first serviceincludes a first application, the second processor may provide the atleast part of the data through the first output device. If the firstservice includes a second application, the second processor may providethe at least part of the data through the second output device.

According to various embodiments, if the data corresponds to a thirdservice or third content, the electronic device may automatically deletethe at least part of the data from the electronic device.

According to various embodiments, the data may be received while thesecond processor is in the sleep state.

According to various embodiments, the first service may include a firstapplication, and the second service may include a second application.

According to various embodiments, the other external device may includea first external device and a second external device. If the secondservice includes a first application, the first processor may transmitthe at least part of the data to the first external device. If thesecond service includes a second application, the first processor maytransmit the at least part of the data to the second external device.

According to various embodiments, if the second processor is in thesleep state, the first processor may maintain the second processor inthe sleep state.

According to various embodiments, the first processor may store the atleast part of the data in a memory operatively connected to theelectronic device.

According to various embodiments, if the second processor is placed inthe active state, the at least part of the data may be transmitted fromthe memory to the second processor.

According to various embodiments, the other external device may includea first external device and a second external device. If the secondservice includes a first application, the first processor may transmitthe at least part of the data to the first external device. If thesecond service includes a second application, the first processor maytransmit the at least part of the data to the second external device.

According to various embodiments, the electronic device may include afirst processor and a second processor. The first processor receivesdata from a first external device for the electronic device, selects atleast one of the electronic device and a second external device for theelectronic device to output at least a part of the data. If theelectronic device is selected, the first processor may transmit the atleast part of the data to the second processor. If the second externaldevice is selected, the first processor may transmit the at least partof the data to the second external device without using the secondprocessor.

According to various embodiments, the data may be received while thesecond processor is in the sleep state.

According to various embodiments, the first processor may identify anapplication corresponding to the data, and select the at least onedevice based on the application.

According to various embodiments, the second external device may includea third external device and a fourth external device. If the applicationis a first application, the first processor may select the thirdexternal device. If the application is a second application, the firstprocessor may select the fourth external device.

According to various embodiments, the first processor may determine apriority level of the data and select the at least one device based onthe priority level.

According to various embodiments, the first processor may determine thatthe second processor is in the sleep state. If the priority level is afirst priority level, the first processor may switch the secondprocessor from the sleep start to the active state. If the prioritylevel is a second priority level, the second processor may be maintainedin the sleep state.

According to various embodiments, if the second processor is in thesleep state, the first processor may store the at least part of the datain a memory operatively connected to the electronic device.

According to various embodiments, if the second processor is placed inthe active state, the stored at least part of the data may betransmitted from the memory to the second processor.

According to various embodiments, the at least part of the data may betransmitted to the second external device while the second processor inthe sleep state.

According to various embodiments, the first processor may select the atleast one device based on a part of the data.

According to various embodiments, the first processor may determine afunction of an application corresponding to the data and select the atleast one device based on the function.

According to various embodiments, the second external device may includea third external device and a fourth external device. If the function isa first function, the first processor may select the third externaldevice. If the function is a second function, the first processor mayselect the fourth external device.

According to various embodiments, the first processor may determine apriority level of the data and select the at least one device based onthe priority level.

According to various embodiments, if the data corresponds to a firstfunction, the second processor may provide the at least part of the datathrough a first output device. If the data corresponds to a secondfunction, the second processor may provide the at least part of the datathrough a second output device.

According to various embodiments, the first processor may determine thepriority level based on a user setting, a state of a user, a state ofthe electronic device, a property of the data, or an application thatgenerates or uses the data.

According to various embodiments, the electronic device may furtherinclude a low power processor configured to transmit the at least partof the data to the second processor or the external device based on theservice or the content.

FIG. 5A is a flowchart of an example of a process 510, according tovarious embodiments.

In step 511, the electronic device (for example, the electronic device401) may receive data transmitted by an external device (for example,the first external device 330) such as a server or a wearable deviceusing, for example, a first processor (for example, the first processor410) in step 511.

In step 513 the electronic device may select at least one recipientdevice for the data. The recipient device may be a device for processing(for example, outputting) at least a part of the received data. Therecipient device may be selected from among a plurality of electronicdevices including the electronic device and one or more other externaldevices (for example, the second external device 350). The recipientdevice may be selected by using the first processor.

In step 515, for example, the electronic device may determine whetherthe electronic device has been selected, using the first processor. Inother words, the electronic device may determine whether it has selecteditself.

In step 517, if the electronic device has been selected, the electronicdevice may transmit at least a part of the data to a second processor(for example, the second processor 430) included in the electronicdevice. The transmission may be performed by using the first processorin step 517.

In step 519, if an external device has been selected, the electronicdevice may transmit the at least part of the data to the externaldevice. The transmission may be performed by using the first processor.According to an embodiment, the at least part of the received data maybe transmitted from the first processor to the external device withoutpassing through the second processor.

FIG. 5B is a flowchart of an example of a process 530, according tovarious embodiments of the present disclosure. In step 531, theelectronic device (for example, the electronic device 401) may receivedata from an external device (for example, the first external device330) such as a server or a wearable device. The data may be received byusing a first processor (for example, the first processor 410).

In step 533, for example, the electronic device may determine a serviceor content (or a priority level) corresponding to the received data. Theservice or content may be identified by using the first processor.

In step 535, in response to detecting that the data corresponds to atleast one of a first service or a first content (or a first prioritylevel), the electronic device may transmit at least a part of thereceived data to a second processor included in the electronic device(for example, the second processor 430). The data may be transmitted tothe second processor by using the first processor.

In step 537, in response to detecting that the data corresponds to atleast one of a second service or a second content (or a second prioritylevel), the electronic device may transmit the at least part of thereceived data to an external device (for example, the second externaldevice 350). According to an embodiment, the at least part of thereceived data may be transmitted from the first processor to theexternal device without passing through the second processor.

FIG. 6A illustrates an example of a system and FIG. 6B is a flowchart ofa process performed by the system, according to various embodiments. Thesame part as or a similar part to in FIGS. 5A and 5B will not bedescribed herein.

In step 620, an electronic device 601 (for example, the electronicdevice 401) may receive data corresponding to an application 603 (forexample, a chat application) that is executed by the electronic device601. The data may be received by using, for example, a first processor(for example, a CP or a low power processor).

In step 630, the electronic device 601 may determine a function (forexample, a chat group) of the application 603 that is associated withthe data.

In step 650, if the data is associated with a first function 605 (forexample, a first chat group), the electronic device 601 may transmit atleast a part of the data to a first external device 611 (for example, anelectronic watch). The transmission may be performed by using, forexample, the first processor. In this case, the electronic device 601may, for example, maintain the second processor in the sleep state.Thus, the electronic device 601 may transmit the at least part of thedata to the first external device 611 without using the secondprocessor.

In step 670, if the data is associated with a second function 607 (forexample, a second chat group), the electronic device 601 may transmitthe at least part of the data to a second external device 613 (forexample, an electronic necklace) and the second processor (for example,an AP). The transmission may be performed by using, for example, thefirst processor. According to an embodiment, the electronic device 601may transmit the at least part of the data to the first external device611 or the second external device 613 through short-range communication609 (for example, the short-range communication 364).

FIG. 7 is a diagram of an example of a process, according to variousembodiments. The same part as or a similar part to in FIGS. 1 to 6 willnot be described herein. Referring to FIG. 7, an electronic device 701(for example, the electronic device 601) may exchange data with a firstexternal device 740, a second external device 760, or an app server 780,for example, in a network environment supporting various communicationschemes.

According to an embodiment, the electronic device 701 may include afirst processor 703 (for example, the first processor 410), a secondprocessor 705 (for example, the second processor 430), a memory 707 (forexample, the memory 480), and an output device 709 (for example, thedisplay 440). The second processor 705, for example, may transition fromthe active state to the sleep state in step 711, and may transmit to thefirst processor 703, for example, state information indicating the sleepstate of the second processor 705 in step 713. In step 715, the firstprocessor may, for example, determine the sleep state of the secondprocessor 705 based on the received state information.

In step 717, the first processor 703 may receive first data, forexample, from the app server 780. The first processor 703 may, forexample, determine that the first data corresponds to a firstapplication in step 721 and may transmit at least a part of the firstdata to the first external device 740 in response to determining thatthe first data corresponds to the first application in step 723. Uponreceipt of the at least part of the first data, the first externaldevice 740 may output the at least part of the first data forpresentation to a user, for example, in various output schemes (forexample, scent) in step 725. In such instances, the second processor 705may be maintained, for example, in the sleep state.

In step 727, the first processor 703 may receive second data, forexample, from the app server 780. The first processor 703 may, forexample, determine that the second data corresponds to a secondapplication in step 729. In step 731, the first processor 703 maytransmit at least a part of the second data to the second externaldevice 760, for example, in response to determining that the second datacorresponds to the second application. Upon receipt of the at least partof the second data, the second external device 760 may, for example,output the at least part of the second data for presentation to the userby vibration, visual information, or sound in step 733. In suchinstances, the second processor 705 may remain in the sleep state.

In step 735, the first processor 703 may receive third data, forexample, from the app server 780. The first processor 703 may, forexample, determine that the third data corresponds to a thirdapplication in step 737. In step 739, the first processor 703 maytransmit at least a part of the third data to the memory 707, forexample, in response to determining that the third data corresponds tothe third application. Next, the at least part of the third data may bestored in the memory 707 in step 741. According to an embodiment, the atleast part of the third data may be compressed and stored in the memory707.

In step 743, the second processor 705 may switch, for example, from thesleep state to the active state. For example, if there is data to beprocessed by the second processor 705, a new event occurs, orperiodically according to a setting, the second processor 705 maytransition into the active state. In step 745, the active-state secondprocessor 705 may access, for example, the memory 707 and retrieve theat least part of the third data in step 745.

According to an embodiment, the second process 705 may process the atleast part of the third data to a form suitable for a correspondingoutput device and transmit the processed part of the third data to thecorresponding output device 709 in step 747. In step 749, the outputdevice 709 may output the at least part of the third data forpresentation to the user, for example, by various output schemes (forexample, sound, visual information, scent, or vibration).

FIG. 8 is a sequence diagram of an example of a process, according tovarious embodiments. The same part as or a similar part to in FIGS. 1 to7 will not be described herein. Referring to FIG. 8, an electronicdevice 801 (for example, the electronic device 701) may transmit andreceive data to and from a first external device 840, a second externaldevice 860, or a third external device 880, in a network environmentsupporting, for example, various communication schemes.

According to an embodiment, the electronic device 801 may include afirst processor 803 (for example, the first processor 703), a secondprocessor 805 (for example, the second processor 705), and a display 809(for example, the output device 709). The second processor 805 maytransition, for example, from the active state to the sleep state instep 811, and may transmit, for example, state information indicatingthe sleep state of the second processor 805 to the first processor 803in step 813. In step 815, the first processor 803 may determine, forexample, the sleep state of the second processor 805 based on thereceived state information.

In step 817, the first processor 803 may receive first datacorresponding to an application, for example, from the third externaldevice 880. The first processor 803 may, for example, determine that thefirst data corresponds to a first function of the application in step819 and may transmit at least a part of the first data to the firstexternal device 840, for example, in response to determining that thefirst data corresponds to the first function of the application in step821. Upon receipt of the at least part of the first data, the firstexternal device 840 may output, for example, the at least part of thefirst data for presentation to a user in a first output scheme in step823. In such instances, the second processor 805 may remain in the sleepstate.

In step 825, the first processor 803 may receive second datacorresponding to the application, for example, from the third externaldevice 880. The first processor 803 may, for example, determine that thesecond data corresponds to a second function of the application in step827. In step 829, the first processor 803 may transmit at least a partof the second data to the second external device 860, for example, inresponse to determining that the second data corresponds to the secondfunction of the application. Upon receipt of the at least part of thesecond data, the second external device 860 may output, for example, theat least part of the second data for presentation to the user in asecond output scheme in step 831. In such instances, the secondprocessor 805 may be maintained, for example, in the sleep state.

According to an embodiment, to output the at least part of the seconddata using the electronic device 801, the first processor 803 maytransmit an active request, for example, to the second processor 805 instep 833. In step 835, upon receipt of the active request, the secondprocessor 835 may transition, for example, from the sleep state to theactive state. The second processor 805 may transmit to the firstprocessor 803, for example, state information 837 indicating that thesecond processor 805 is in the active state in step 837.

In step 839, the first processor 803 may directly transmit the at leastpart of the second data to the second processor 805, for example, inresponse to the state information indicating the active state. Inanother example, the first processor 803 may transmit the at least partof the second data as an interrupt signal to the second processor 805,unlike steps 833 to 839 of FIG. 8. In such instances, the secondprocessor 805 may switch from the sleep state to the active state basedon the received second data.

In step 841, the second processor 805 may transmit, for example, the atleast part of the second data to the display 809. In step 843, thedisplay 809 may display, for example, the at least part of the seconddata for presentation to a user. In such instances, a different amountof data may be displayed on the display 809 depending on a degree towhich information included in the data is processed.

The plurality of operations described with reference to FIGS. 5 to 8 maybe performed simultaneously or in parallel. According to variousembodiments, a part of the plurality of operations may be omitted, andthe plurality of operations may not necessarily be performed in thedescribed order. For example, a first operation in an N^(th) step may beperformed after a second operation in an (N+M)^(th) step. According toan embodiment, the first operation and the second operation may beperformed simultaneously. Herein, N and M may be, for example, naturalnumbers.

According to various embodiments, a method for managing data in anelectronic device including a first processor and a second processor mayinclude receiving data transmitted by an external device for theelectronic device, using the first processor, determining an outputdevice for outputting the data, using the first processor, transmitting,if the output device is the electronic device, at least a part of thedata to the second processor using the first processor, andtransmitting, if the output device is another external device for theelectronic device, the at least part of the data to the other externaldevice using the first processor.

According to various embodiments, a method for managing data in anelectronic device including a first processor and a second processor mayinclude receiving data transmitted by an external device for theelectronic device, using the first processor, determining a service orcontent corresponding to the data, using the first processor,transmitting, if the data corresponds to a first service or firstcontent, at least a part of the data to the second processor using thefirst processor, and transmitting, if the data corresponds to a secondservice or second content, the at least part of the data to anotherexternal device for the electronic device, using the first processor.

According to various embodiments, the data may be received while thesecond processor is in a sleep state.

According to various embodiments, the first service may include a firstapplication, and the second service may include a second application.

According to various embodiments, the other external device may includea first external device and a second external device. The transmissionof the at least part of the data to the other external device mayinclude transmitting the at least part of the data to the first externaldevice, if the second service includes the first application, andtransmitting the at least part of the data to the second externaldevice, if the second service includes the second application.

According to various embodiments, the transmission of the at least partof the data to the second processor may include maintaining the secondprocessor in the sleep state, if the second processor is in the sleepstate.

According to various embodiments, the transmission of the at least partof the data to the second processor may include storing the at leastpart of the data in a memory operatively connected to the electronicdevice.

According to various embodiments, the transmission of the at least partof the data to the second processor may include switching the secondprocessor from the sleep state to an active state.

According to various embodiments, the transmission of the at least partof the data to the second processor may include, if the second processorswitches to the active state, transmitting the at least part of the datafrom the memory to the second processor.

According to various embodiments, if the second processor switches tothe active state, the at least part of the data may be transmitted fromthe memory to the second processor.

According to various embodiments, the other external device may includea first external device and a second external device. The transmissionof the at least part of the data to the other external device mayinclude transmitting the at least part of the data to the first externaldevice, if the second service includes a first application, andtransmitting the at least part of the data to the second externaldevice, if the second service includes a second application.

According to various embodiments, the transmission of the at least partof the data to the second external device may be performed, while thesecond processor is in the sleep state.

According to various embodiments, the transmission of the at least partof the data to the second external device may include transmitting theat least part of the data to the other external device without using thesecond processor.

According to various embodiments, the first service may include a firstfunction of an application, and the second service may include a secondfunction of the application.

According to various embodiments, the other external device may includea first external device and a second external device. The transmissionof the at least part of the data to the other external device mayinclude transmitting the at least part of the data to the first externaldevice, if the second service includes a first function of anapplication, and transmitting the at least part of the data to thesecond external device, if the second service includes a second functionof the application.

According to various embodiments, the electronic device may furtherinclude a short-range communication module, and the transmission of theat least part of the data to the other electronic device may includetransmitting the at least part of the data to the other external deviceusing the short-range communication module.

According to various embodiments, the transmission of the at least partof the data to the second processor may include, if the first servicehas a predetermined priority level, switching the second processor fromthe sleep state to the active state.

According to various embodiments, the transmission of the at least partof the data to the second processor may include determining the prioritylevel based on a user setting, a state of a user, a state of theelectronic device, or a property of the data.

According to various embodiments, the electronic device may include afirst output device and a second output device. The transmission of theat least part of the data to the second processor may include, if thefirst service includes a first function, providing the at least part ofthe data through the first output device, and if the first serviceincludes a second function, providing the at least part of the datathrough the second output device.

According to various embodiments, the electronic device may include afirst output device and a second output device. The transmission of theat least part of the data to the second processor may include, if thefirst service includes a first application, providing the at least partof the data through the first output device, and if the first serviceincludes a second application, providing the at least part of the datathrough the second output device.

According to various embodiments, the method may further include, if thedata corresponds to a third service or third content, automaticallydeleting the at least part of the data from the electronic device.

According to various embodiments, the electronic device may furtherinclude a low power processor configured to transmit the at least partof the data to the second processor or the other external device basedon the service or the content.

FIG. 9 is a block diagram of a programming module according to variousembodiments. According to an embodiment, a programming module 910 (forexample, a program 140) may include an OS that controls resourcesrelated to an electronic device (for example, the electronic device 101)and/or various applications executed on the OS (for example, theapplication programs 147). For example, the OS may be Android, iOS,Windows, Symbian, Tizen, Bada, or the like.

The programming module 910 may include a kernel 920, middleware 930, anApplication Programming Interface (API) 960, and/or applications 970. Atleast a part of the programming module 910 may be preloaded on anelectronic device or downloaded from an external device (for example,the electronic devices 102 and 104, and the server 106).

The kernel 920 (for example, the kernel 141) may include, for example, asystem resource manager 921 and/or a device driver 923. The systemresource manager 921 may control, allocate, or deallocate systemresources. According to an embodiment, the system resource manager 921may include a process manager, a memory manager, or a file systemmanager. The device driver 923 may include, for example, a displaydriver, a camera driver, a Bluetooth driver, a shared memory driver, aUSB driver, a keypad driver, a WiFi driver, an audio driver, or aninter-process communication (IPC) driver.

The middleware 930 may, for example, provide a function requiredcommonly for the applications 970 or provide various functionalities tothe applications 970 through the API 960 so that the applications 970may efficiently use limited system resources available within theelectronic device. According to an embodiment, the middleware 930 (forexample, the middleware 143) may include at least one of a runtimelibrary 935, an application manager 941, a window manager 942, amultimedia manager 943, a resource manager 944, a power manager 945, adatabase manager 946, a package manager 947, a connectivity manager 948,a notification manager 949, a location manager 950, a graphic manager951, and a security manager 952.

The runtime library 935 may include, for example, a library module thata compiler uses to add a new function in a programming language duringexecution of an application 970. The runtime library 935 may performinput/output management, memory management, a function related toarithmetic function, or the like.

The application manager 241 may manage, for example, the life cycle ofat least one of the applications 970. The window manager 942 may manageGUI resources used for a screen. The multimedia manager 943 maydetermine formats required to play back various media files and mayencode or decode a media file using a CODEC suitable for the format ofthe media file. The resource manager 944 may manage resources such as asource code of at least one of the applications 970, a memory, orstorage space.

The power manager 945 may manage a battery or a power source byoperating in conjunction with, for example, a basic input/output system(BIOS) and may provide power information required for an operation ofthe electronic device. The database manager 946 may generate, search, ormodify a database for used in at least one of the applications 970. Thepackage manager 947 may manage installation or update of an applicationdistributed as a package file.

The connectivity manager 948 may manage wireless connectivity of, forexample, WiFi, Bluetooth, or the like. The notification manager 949 mayindicate or notify an event such as message arrival, a schedule, aproximity alarm, or the like in a manner that does not bother a user.The location manager 950 may manage position information about theelectronic device. The graphic manager 951 may manage graphical effectsto be provided to the user or related user interfaces. The securitymanager 952 may provide an overall security function required for systemsecurity, user authentication, and the like. According to an embodiment,if the electronic device (for example, the electronic device 101 ) has atelephony function, the middleware 930 may further include a telephonymanager to manage a voice or video call function of the electronicdevice.

A new middleware module may be created and used by combining variousfunctions of the above-described component modules in the middleware930. The middleware 930 may provide a customized module for each OS typein order to provide differentiated functions. In addition, themiddleware 930 may dynamically delete a part of the existing componentsor add a new component.

The API 260 (for example, the API 145) is, for example, a set of APIprogramming functions, which may be configured differently according toan OS. For example, in the case of Android or iOS, one API set may beprovided per platform, whereas in the case of Tizen, two or more APIsets may be provided per platform.

The applications 970 (for example, the application programs 147) mayinclude, for example, one or more applications capable of providingfunctions such as home 971, dialer 972, short message service/multimediamessaging service (SMS/MMS) 973, Instant message (IM) 974, browser 975,camera 976, alarm 977, contacts 978, voice dial 979, email 980, calendar981, media player 982, album 983, or clock 984, healthcare (for example,measurement of an exercise amount or a glucose level), or providing ofenvironment information (for example, information about atmosphericpressure, humidity, or temperature).

According to an embodiment, the applications 970 may include anapplication (for the convenience of description, referred to as‘information exchange application’) supporting information exchangebetween the electronic device (for example, the electronic device 101)and an external electronic device (the electronic device 102 or 104).The information exchange application may include, for example, anotification relay application for transmitting specific information tothe external electronic device or a device management application formanaging the external electronic device.

For example, the notification relay application may include a functionof transmitting notification information generated from anotherapplication (for example, an SMS/MMS application, an email application,a healthcare application, or an environment information application) tothe external electronic device (for example, the electronic device 102or 104). Also, the notification relay application may, for example,receive notification information from the external electronic device andtransmit the received notification information to the user.

The device management application may, for example, manage (for example,install, delete, or update) at least a part of functions of the externalelectronic device (for example, the electronic device 102 or 104)communicating with the electronic device (for example, turn-on/turn-offof the external electronic device (or a part of its components) orcontrol of the brightness (or resolution) of the display), anapplication executed in the external electronic device, or a service(for example, a call service or a message service) provided by theexternal electronic device.

According to an embodiment, the applications 970 may include anapplication (for example, a health care application in a mobile medicalequipment) designated according to a property of the external electronicdevice (for example, the electronic device 102 or 104). According to anembodiment, the applications 970 may include an application receivedfrom an external electronic device (for example, the server 106 or theelectronic device 102 or 104). According to an embodiment, theapplications 970 may include a preloaded application or a third partyapplication downloadable from a server. The names of components of theprogramming module 910 according to embodiments of the presentdisclosure may vary according to the type of an OS.

According to various embodiments, at least a part of the programmingmodule 910 may be implemented in software, firmware, hardware, or acombination of at least two of them. At least a part of the programmingmodule 910 may be implemented (for example, executed), for example, bythe processor (for example, the processor 210). At least a part of theprogramming module 910 may include, for example, a module, a program, aroutine, a set of instructions, or a process to execute one or morefunctions.

As is apparent from the foregoing description of an electronic deviceand method for managing data using a plurality of processors accordingto various embodiments, for example, even though a first processor (forexample, a CP) receives data, a second processor (for example, an AP)may be maintained in a sleep state based on at least a part of the data.Therefore, unnecessary current consumption involved in switching thesecond processor to an active state can be reduced.

According to the electronic device and method for managing data using aplurality of processors according to various embodiments, for example,data received at the first processor (for example, a CP) can be reservedfrom a user at least until the second processor (for example, an AP)switches to the active state, thereby preventing reception of unintendedor low-priority data from frequently interrupting the user.

According to the electronic device and method for managing data using aplurality of processors according to various embodiments, while thesecond processor is in the sleep state, the data can be transmitted toan external device using the first processor (for example, a CP) thathas received the data. Thus, the first processor (for example, a CP)which can operate independently without control of the second processor(for example, an AP) can be provided.

The term ‘module’ as used herein may include its ordinary meaningincluding, for example, a unit of one, or a combination of two or moreof hardware, software, and firmware. The term ‘module’ may be usedinterchangeably with terms such as, for example, unit, logic, logicalblock, component or circuit. A ‘module’ may be the smallest unit of anintegrated part or a portion thereof. A ‘module’ may be the smallestunit for performing one or more functions, or a portion thereof. A‘module’ may be implemented mechanically, or electronically. Forexample, a ‘module’ may include at least one of a known, orto-be-developed, application-specific integrated circuit (ASIC) chip,field-programmable gate array (FPGA) or programmable logic device thatperform certain operations.

At least a part of devices (for example, modules or their functions) ormethods (for example, operations) according to various embodiments ofthe present disclosure may be implemented as commands stored in acomputer-readable storage medium, in the form of a programming module.When the commands are executed by a processor (for example, theprocessor 120), one or more processors may execute functionscorresponding to the commands. The computer-readable storage medium maybe, for example, the memory 130.

According to various embodiments, in a storage device storing commands,the commands are configured to make at least one processor to performoperations when the commands are executed by the at least one processor.In an electronic device including a first processor and a secondprocessor, the operations may include receiving data transmitted by anexternal device for the electronic device, using the first processor,determining a service or content corresponding to the data, using thefirst processor, transmitting, if the data corresponds to a firstservice or first content, transmitting at least a part of the data tothe second processor using the first processor, and transmitting, if thedata corresponds to a second service or second content, transmitting atleast a part of the data to another external device for the electronicdevice using the first processor.

FIGS. 1-9 are provided as an example only. At least some of theoperations discussed with respect to these figures can be performedconcurrently, performed in different order, and/or altogether omitted.It will be understood that the provision of the examples describedherein, as well as clauses phrased as “such as,” “e.g.”, “including”,“in some aspects,” “in some implementations,” and the like should not beinterpreted as limiting the claimed subject matter to the specificexamples.

The above-described aspects of the present disclosure can be implementedin hardware, firmware or via the execution of software or computer codethat can be stored in a recording medium such as a CD-ROM, a DigitalVersatile Disc (DVD), a magnetic tape, a RAM, a floppy disk, a harddisk, or a magneto-optical disk or computer code downloaded over anetwork originally stored on a remote recording medium or anon-transitory machine-readable medium and to be stored on a localrecording medium, so that the methods described herein can be renderedvia such software that is stored on the recording medium using a generalpurpose computer, or a special processor or in programmable or dedicatedhardware, such as an ASIC or FPGA. As would be understood in the art,the computer, the processor, microprocessor controller or theprogrammable hardware include memory components, e.g., RAM, ROM, Flash,etc. that may store or receive software or computer code that whenaccessed and executed by the computer, processor or hardware implementthe processing methods described herein. In addition, it would berecognized that when a general purpose computer accesses code forimplementing the processing shown herein, the execution of the codetransforms the general purpose computer into a special purpose computerfor executing the processing shown herein. Any of the functions andsteps provided in the Figures may be implemented in hardware, softwareor a combination of both and may be performed in whole or in part withinthe programmed instructions of a computer. No claim element herein is tobe construed under the provisions of 35 U.S.C. 112, sixth paragraph,unless the element is expressly recited using the phrase “means for”.

Moreover, the embodiments disclosed in this specification are suggestedfor the description and understanding of technical content but do notlimit the range of the present disclosure. Accordingly, the range of thepresent disclosure should be interpreted as including all modificationsor various other embodiments based on the technical idea of the presentdisclosure.

What is claimed is:
 1. A method for managing data in an electronicdevice including a first processor and a second processor, the methodcomprising: receiving, by the first processor, a message transmitted bya first external device; identifying, by the first processor, a serviceor an application corresponding to the message based on information ofthe massage; and determining, by the first processor, whether activatingthe second processor to process the message or providing at least aportion of the message to a second external device which is operativelycoupled with the electronic device, according to the identified serviceor application corresponding to the message.
 2. The method of claim 1,wherein the message is received from the first external device while thesecond processor is in a sleep state.
 3. The method of claim 1, furthercomprising, storing, by the first processor, the message in a memorythat is accessible by the second processor.
 4. The method of claim 3,further comprising retrieving, by the second processor, the message fromthe memory when the second processor has been activated based on thedetermination.
 5. The method of claim 1, wherein the first processorcomprises at least one communication processor and the second processorcomprises at least one application processor, the at least onecommunication processor is configured to communicate with a cellularcommunicating base station and an external device in short range.
 6. Themethod of claim 1, wherein preset user setting determines whetheractivating the second processor to process the message of theapplication or providing at least a portion of the message to a secondexternal device of the application.
 7. The method of claim 2, whereinthe second processor keeps in a sleep state while the electronic devicetransmits the at least portion of the message to the second externaldevice using the first processor.
 8. The method of claim 5, wherein theproviding the at least portion of the message to the second externaldevice comprising transmitting the at least portion of the message tothe second external device through short range communication channelusing the first processor.
 9. An electronic device comprising: a memory;a first processor operatively coupled to the memory; a second processoroperatively coupled to the memory, wherein the first processor isconfigured to: receive a message transmitted by a first external device,identify a service or an application corresponding to the message basedon information of the massage, determining, by the first processor,whether activating the second processor to process the message orproviding at least a portion of the message to a second external devicewhich is operatively coupled with the electronic device, according tothe identified service or application corresponding to the message. 10.The electronic device of claim 9, wherein the message is received fromthe first external device while the second processor is in a sleepstate.
 11. The electronic device of claim 9, wherein the first processorstores the message in the memory.
 12. The electronic device of claim 11,wherein the second processor retrieves the message from the memory whenthe second processor has been activated based on the determination. 13.The electronic device of claim 9, wherein the first processor comprisesat least one communication processor and the second processor comprisesat least one application processor, the at least one communicationprocessor is configured to communicate with a cellular communicatingbase station and an external device in short range.
 14. The electronicdevice of claim 9, wherein preset user setting determines whetheractivating the second processor to process the message of theapplication or providing at least a portion of the message to a secondexternal device of the application.
 15. The electronic device of claim10, wherein the second processor keeps in a sleep state while theelectronic device transmits the at least portion of the message to thesecond external device using the first processor.
 16. The electronicdevice of claim 13, wherein the first processor transmits the at leastportion of the message to the second external device through short rangecommunication channel using the first processor.
 17. The electronicdevice of claim 9, further comprising a low-power processor configuredto providing the at least a portion of the message to the secondprocessor or the second external device, based on the service or theapplication.
 18. The electronic device of claim 9, wherein, when themessage corresponds to the first service, the first processor isconfigured to process the second processor from a sleep state to anactive state, in response to the first service having a predeterminedpriority level.
 19. The electronic device of claim 18, wherein the firstprocessor is configured to determine the priority level based on a usersetting, a state of a user, a state of the electronic device, a propertyof the message, or an application generating or using the message.
 20. Anon-transitory computer-readable medium storing one or more processorexecutable instructions, which when executed by a first processor of anelectronic device cause the first processor to perform a methodcomprising: receiving, by the first processor, a message transmitted bya first external device; identifying, by the first processor, a serviceor an application corresponding to the message based on information ofthe message; and determining, by the first processor, whether activatingthe second processor to process the message or providing at least aportion of the message to a second external device which is operativelycoupled with the electronic device, according to the identified serviceor application corresponding to the message.